uboot: move system uEnv merge to new function, clean up
authorGuy Shapiro <guy.shapiro@mobi-wize.com>
Tue, 5 Sep 2017 09:03:52 +0000 (12:03 +0300)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 8 Sep 2017 00:58:08 +0000 (00:58 +0000)
commita567b5b47bb2d32d16d202db0d5fbe4035a0e086
tree85e9b89a2e17544ec7d80ca38200e96e6c6a0d87
parentc7d0be4fbaf3617b485c53f91acb7b2677641f37
uboot: move system uEnv merge to new function, clean up

Split the code that merge the system uEnv to new function. While we're here,
clean up the logic to e.g. use `ot_openat_ignore_enoent()`.

Closes: #1138
Approved by: cgwalters
src/libostree/ostree-bootloader-uboot.c